home *** CD-ROM | disk | FTP | other *** search
/ MacWorld: Super Stacks! / Macworld CD.iso / Stack Catalogs / maxStax+™ Catalog / Authoring .maxstax+ / card_13781.txt < prev    next >
Text File  |  1990-03-30  |  2KB  |  48 lines

  1. -- card: 13781 from stack: in.maxstax+
  2. -- bmap block id: 14221
  3. -- flags: 0000
  4. -- background id: 12781
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 00
  10. -- high flags: 0007
  11. -- rect: left=227 top=14 right=228 bottom=501
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: 
  20.  
  21.  
  22. -- part 2 (button)
  23. -- low flags: 00
  24. -- high flags: 8001
  25. -- rect: left=327 top=319 right=334 bottom=350
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 1
  29. -- font id: 3
  30. -- text size: 9
  31. -- style flags: 256
  32. -- line height: 12
  33. -- part name: 2|3
  34.  
  35.  
  36. -- part contents for card part 1
  37. ----- text -----
  38.      If you are a scripter, you've done your own basic debugging by inserting "wait until the mouseclick" and "put varible1 into msg"  commands after lines of code where you suspected a bug. Many times this works fine but it's very time consuming to put all the commands in and then take them all out.  It is also difficult to track more that 2 or 3 variables at a time.  It is this process which Hyperbug simplifies.
  39.  
  40.      Hyperbug was created to be a simple and quick way to step through a chosen range of Hypertalk code in any Hypercard object and track user defined variables, Hypertalk functions, properties and containers.
  41.  
  42. The limitations with this type of debugger are that you cannot debug a script that physically goes to other cards or stacks.  But, since most scripting problems occure in a small range of code within one object, Hyperbug does fill a large need for all Hypertalk programmers.
  43.  
  44. Hyperbug does it's best work debugging complicated control structures such as deeply nested repeat loops with if/then/else controls.  It is also great for stepping through on card animation and keeping track of Hypertalk properties and functions like; The Params, the stackspace, the heapspace and the freesize.
  45.  
  46. All actions to setup, operate and abort the debugging process are performed by clicking on the 7k Hyperbug Button or by clicking on the Hyperbug Button in conjunction with the keyboard commands  (command,shift or option.)  This keeps screen clutter to a minimum.
  47.  
  48.